<div id="{{ chart_id }}" style="width:{{ my_width }}px;height:{{ my_height }}px;"></div>
<script type="text/javascript">
    var myChart_{{ chart_id }} = echarts.init(document.getElementById('{{ chart_id }}'));
    var option_{{ chart_id }} = {{ my_option }};
    myChart_{{ chart_id }}.setOption(option_{{ chart_id }});
</script>
